(function () {

    document.documentElement.style.fontSize = document.documentElement.clientWidth * 100 / 375 + 'px'

})()
;(function(){
    var viewport = document.querySelector('meta[name="viewport"]')
    const scale = 1 / window.devicePixelRatio
    viewport.setAttribute('content',"width=device-width, initial-scale=" + scale)

    let fs = parseFloat(document.documentElement.style.fontSize)
    fs = fs * window.devicePixelRatio
    document.documentElement.style.fontSize =  fs + 'px'
})()